<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>导航页2</title>
    <style>
    .box{
        width: 960px;
        height: 40px;
        margin: 20px auto;
        background-color: #55a8ea;
        position: relative;
    }
    .box span{
        text-align: center;
        float: left;
        line-height: 40px;
        color: #fff;
        width: 100px;
        font-size: 14px;
        font-family: '雅黑';
    }
    span:hover{
        background-color: #00619f;
    }
    #img{
        position: relative;
        top: -10px;
        left: -270px;
    }
    </style>
</head>
<body>
    <div class="box">
        <span>首页</span>
        <span>网络建设</span>
        <span>程序开发</span>
        <span>网络营销</span>
        <img id="img" src="./new.png" alt="">
        <span>企业VI</span>
        <span>案例展示</span>
        <span>联系我们</span>
    </div>
</body>
</html>